#ifndef MENUWIZARD_H
#define MENUWIZARD_H

#include <QCloseEvent>
#include <QDialog>
#include <QMessageBox>

namespace Ui
{
    class MenuWizard;
}

class MenuWizard : public QDialog
{
    Q_OBJECT

    public:
        explicit MenuWizard(QWidget *parent = 0);
        ~MenuWizard();

    protected:
        void closeEvent(QCloseEvent*);

    private slots:
        void on_btnAdd_clicked();
        void on_tableWidget_cellDoubleClicked(int row, int column);
        void on_bntDelete_clicked();
        void on_btnCancel_clicked();
        void on_btnInfo_clicked();
        void on_btnInsert_clicked();

    signals:
        void menuInserted(QStringList, QStringList, bool);

    private:
        bool inserted;
        Ui::MenuWizard *ui;

        bool checkTableContent();
};

#endif // MENUWIZARD_H
